<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>gdm</Name>
        <Homepage>https://gitlab.gnome.org/GNOME/gdm</Homepage>
        <Packager>
            <Name>Pisi Linux Admins</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <Summary>GNOME Graphical Display Manager</Summary>
        <Description>A graphical login manager for your desktop, integrated within the GNOME desktop environment</Description>
        <Archive sha1sum="6a369fbd142fe5b087a6bdda365e8840d95b19be" type="tarxz">https://download.gnome.org/sources/gdm/43/gdm-43.0.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>dconf-devel</Dependency>
            <Dependency>gettext-devel</Dependency>
            <Dependency>itstool</Dependency>
            <Dependency>accountsservice-devel</Dependency>
            <Dependency>elogind-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>gtk3-devel</Dependency>
            <Dependency>iso-codes-devel</Dependency>
            <Dependency>libSM-devel</Dependency>
            <Dependency>libcanberra-devel</Dependency>
            <Dependency>libcanberra-gtk3-devel</Dependency>
            <Dependency>nss-devel</Dependency>
            <Dependency>pam-devel</Dependency>
            <Dependency>audit-devel</Dependency>
            <Dependency>upower-devel</Dependency>
            <Dependency>libdaemon-devel</Dependency>
            <Dependency>gobject-introspection-devel</Dependency>
            <Dependency>meson</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">0000-Force-Xorg-use-on-the-login-screen.patch</Patch>
<!--             <Patch level="1">0001-pam-arch-Update-to-match-pambase-20200721.1-2.patch</Patch> -->
            <Patch level="1">0002-Xsession-Don-t-start-ssh-agent-by-default.patch</Patch>
            <Patch level="1">0003-enable-elogind-build.patch</Patch>
<!--             <Patch level="1">0004-gdm-CanGraphical-wait-meson.patch</Patch> -->
        </Patches>
    </Source>

    <Package>
        <Name>gdm</Name>
        <Conflicts>
            <Package>lxdm</Package>
            <Package>sddm</Package>
            <Package>lightdm</Package>
        </Conflicts>
        <RuntimeDependencies>
            <Dependency>pam</Dependency>
            <Dependency>gtk3</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libXau</Dependency>
            <Dependency>libxcb</Dependency>
            <Dependency>elogind</Dependency>
            <Dependency>libXdmcp</Dependency>
            <Dependency>gdk-pixbuf</Dependency>
            <Dependency>libcanberra</Dependency>
            <Dependency>accountsservice</Dependency>
            <Dependency>libcanberra-gtk3</Dependency>
            <Dependency>audit</Dependency>
            <Dependency>keyutils</Dependency>
            <Dependency>libgudev</Dependency>
            <Dependency>libgdm</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="library">/lib</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib/sysusers.d</Path>
            <Path fileType="executable">/usr/libexec</Path>
            <Path fileType="executable">/usr/sbin</Path>
            <Path fileType="data">/usr/share/dconf</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="data">/usr/share/gdm</Path>
            <Path fileType="data">/usr/share/gnome-session</Path>
            <Path fileType="doc">/usr/share/help</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/lib/sysusers.d/gdm.conf">gdm.sysusers</AdditionalFile>
        </AdditionalFiles>
        <Provides>
            <COMAR script="service.py">System.Service</COMAR>
            <COMAR script="package.py">System.Package</COMAR>
        </Provides>
    </Package>

    <Package>
        <Name>gdm-devel</Name>
        <RuntimeDependencies>
            <Dependency release="current">gdm</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>elogind-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="data">/usr/share/gir-1.0</Path>
        </Files>
    </Package>

    <Package>
        <Name>libgdm</Name>
        <RuntimeDependencies>
            <Dependency>glib2</Dependency>
            <Dependency>elogind</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/girepository-1.0</Path>
            <Path fileType="library">/usr/lib/libgdm.so*</Path>
            <Path fileType="data">/usr/share/glib-2.0</Path>
        </Files>
    </Package>

    <History>
        <Update release="9">
            <Date>2022-11-02</Date>
            <Version>43.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="8">
            <Date>2022-03-22</Date>
            <Version>42.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2022-01-12</Date>
            <Version>41.3</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2021-11-21</Date>
            <Version>41.0</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2021-09-21</Date>
            <Version>41.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2021-07-24</Date>
            <Version>40.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2021-07-17</Date>
            <Version>40.0</Version>
            <Comment>Seperate libgdm</Comment>
            <Name>Berk Çakar</Name>
            <Email>berk2238@hotmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2021-06-09</Date>
            <Version>40.0</Version>
            <Comment>Rebuild</Comment>
            <Name>Berk Çakar</Name>
            <Email>berk2238@hotmail.com</Email>
        </Update>
        <Update release="1">
            <Date>2021-06-05</Date>
            <Version>40.0</Version>
            <Comment>First release for Pisi Linux</Comment>
            <Name>Berk Çakar</Name>
            <Email>berk2238@hotmail.com</Email>
        </Update>
    </History>
</PISI>
